package org.csu.mypetstore_seller.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Collection;

@Data
@TableName("category")
public class Category{

    @TableField("catid")
    private String catid;

    @TableField("name")
    private String name;

    @TableField("descn")
    public String page;

    @TableLogic(value = "0", delval = "-1")
    @TableField(value = "delete_flag", fill = FieldFill.INSERT)
    private Integer deleteFlag;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }
}
